package com.qinggeng.project.system.service.impl;

import com.qinggeng.project.system.domain.HistoryWithdraw;
import com.qinggeng.project.system.mapper.HistoryWithdrawMapper;
import com.qinggeng.project.system.service.HistoryWithdrawService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 吴鹏飞
 * @date 2020/10/21
 * 历史提现业务
 */
@Service
public class HistoryWithdrawServiceImpl implements HistoryWithdrawService {
    @Autowired
    private HistoryWithdrawMapper historyWithdrawMapper;

    /**
     * 插入提现历史记录
     * @param historyWithdraw
     * @return
     */
    @Override
    public int insertHistoryWithdraw(HistoryWithdraw historyWithdraw) {
        return historyWithdrawMapper.insertHistoryWithdraw(historyWithdraw);
    }
}
